package cn.islu.dao;

import cn.islu.bean.TbMusic;
import cn.islu.bean.TbSheet;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface TbSheetDao {
    //查询所有歌单
    List<TbSheet> findAll();

    int insertSheet(@Param("sheetName") String sheetName);

    List<TbMusic> findSongsBySheet(String sheetName);
}
